<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>3_数据类型</title>
</head>
<body>
<script>
    var a = 1;
    var b = 3.14;
    console.log(a,typeof a,b,typeof b)
    var c = "hello";
    var d = 'hello';
    console.log(c,typeof c,d,typeof d)
    var e = true;
    var f = false;
    console.log(e,typeof e,f,typeof f)
    var g;
    console.log(g,typeof g)

    let obj = {
        name:"张三",
        age:18
    };
    console.log(obj,typeof obj);
    console.log(obj.name);
    console.log(obj.age);

    obj.like = "给祖国母亲庆生";
    console.log(obj.like);
</script>

</body>
</html>